package com.yxw.live_vod_facade.dto;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 站内分享人员DTO
 * @author liuxin
 * @date 2023.11.04
 */
@Data
public class OnSiteShareUserDto implements Serializable {

    private static final long serialVersionUID = 81700446865649L;

    @NotNull(message = "被分享人ID不能为空")
    @ApiModelProperty(value = "被分享人ID")
    private Long shareUserId;

    @NotBlank(message = "被分享人名称不能为空")
    @ApiModelProperty(value = "被分享人名称")
    private String shareUserName;

    @NotNull(message = "被分享对象类型不能为空")
    @ApiModelProperty(value = "被分享对象类型 1：人员  2：店铺")
    private Integer shareUserType;
}

